﻿/// <summary>
/// FileName: NameLocation.cs
/// Author: Jiang Xiaolong
/// Created Time: 2015.05.14
/// Version: 1.0
/// Company: Sunnytech
/// Function: 变量或者公式名ID定位，无实际作用，主要为了报错时传入参数合理；
///
/// Changed By:
/// Modification Time:
/// Discription:
/// </summary>
using Expression.api;

namespace Expression.impl
{
	public class NameLocation : PositionLocate
	{
		private string _value;
		private int _line;
		private int _pos;

		public NameLocation(string value)
		{
			this._value = value;
			this._line = 1;
			this._pos = 1;
		}

		public string GetValue()
		{
			return _value;
		}

		public int GetLine()
		{
			return _line;
		}

		public int GetPos()
		{
			return _pos;
		}

	}
}


